package com.yumeko.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (TStorage)实体类
 *
 * @author Zheng Hao
 * @since 2020-03-20 20:38:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TStorage implements Serializable {
    private static final long serialVersionUID = 715250899794009839L;
    
    private Long id;
    /**
    * 产品id
    */
    private Long productId;
    /**
    * 库存
    */
    private Integer total;
    /**
    * 已用库存
    */
    private Integer used;
    /**
    * 剩余库存
    */
    private Integer residue;

}